package com.huang.function;
/*
*   函数式接口  function
*
* */

import java.util.function.Function;

public class Demo1 {
    public static void main(String[] args) {
        Function<String,String> function=(str)->{return str;};
        System.out.println(function.apply("aaa"));
    }
}
